﻿@model EcoProject1.ViewModelCodeGen_UploadAttachment.UploadAttachment

@{
    ViewBag.Title = "Upload";
}

<h2>Upload attachment for Ticket @Html.ValueFor(model => model.ShortDescription)</h2>

        <form action="~/Attachments/Upload" enctype="multipart/form-data" method="post">

    <fieldset>
        <legend>TicketAttachments</legend>
        @Html.HiddenFor(model => model.ThisAsExternalId)
       
    <input type="file" name="TheFile">
    <input type="submit" value="Upload">
    </fieldset>
</form>


@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
